<%-- 
    Document   : signLab
    Created on : Aug 22, 2012, 4:32:27 PM
    Author     : phong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <f:view>
            <a href="freeLab.jsp">Free Lab</a>&nbsp;|&nbsp;
            <a href="mySignList.jsp">My Sign</a>&nbsp;|&nbsp;
            <a href="report.jsp">Send Report</a>&nbsp;|&nbsp;
            <a href="myReportList.jsp">My Report</a>
            <h2>Sign Lab</h2>
            <h:form id="signLab">
                <h:panelGrid columns="2" border="1">
                    <h:outputText value="Lab ID : "/>
                    <h:inputText id="id" value="#{signLabBean.labID}"/>
                    <h:outputText value="Use Date : "/>
                    <h:inputText id="useDate" value="#{signLabBean.useDate}"/>
                    <h:outputText value="Time Table"/>
                    <h:inputText id="timeTable" value="#{signLabBean.timeTableID}"/> 
                    <h:outputText value="Content"/>
                    <h:inputTextarea id="content" value="#{signLabBean.content}"/>
                </h:panelGrid>
                <br>
                <h:commandButton value="Sign" action="#{signLabBean.doSignLab()}"/>
            </h:form>   
        </f:view>
    </body>
</html>
